﻿using SD.Infrastructure.DTOBase;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Outputs.ResourceContext
{
    /// <summary>
    /// 物料包装数据传输对象
    /// </summary>
    [DataContract]
    public class MaterialPackInfo : BaseDTO
    {
        #region 外包装 —— string MaxPack
        /// <summary>
        /// 外包装（箱）
        /// </summary>
        [DataMember]
        public string MaxPack { get; set; }
        #endregion

        #region 外包装系数 —— int? MaxPackCoefficient
        /// <summary>
        /// 外包装系数
        /// </summary>
        /// <remarks>1箱 = 24袋，24即为MaxPackCoefficient</remarks>
        [DataMember]
        public int? MaxPackCoefficient { get; set; }
        #endregion

        #region 内包装 —— string MinPack
        /// <summary>
        /// 内包装（袋）
        /// </summary>
        [DataMember]
        public string MinPack { get; set; }
        #endregion

        #region 内包装系数 —— decimal MinPackCoefficient
        /// <summary>
        /// 内包装系数
        /// </summary>
        /// <remarks>1袋 = 2kg，2即为MinPackCoefficient</remarks>
        [DataMember]
        public decimal MinPackCoefficient { get; set; }
        #endregion
    }
}
